var path = require('path');
var pathAlias = require('./path-alias.config.js');
module.exports = {
  // 模块别名的配置，为了使用方便，一般来说所有模块都是要配置一下别名的
  /* 各种目录 */
  /* src根目录 */
  '@': pathAlias.srcRootDir,

  configDir: pathAlias.configDir,
  /* vendor */
  vendorDir: pathAlias.vendorDir,

  /* utils */
  utilsDir: pathAlias.utilsDir,

  /* styles */
  stylesDir: path.resolve(pathAlias.publicDir, 'styles'),

  /* components */
  componentsDir: path.resolve(pathAlias.publicDir, 'components'),

  /* layout */
  layoutDir: pathAlias.layoutDir,
  layout: path.resolve(pathAlias.layoutDir, 'layout/html.js'),

  /* config */
  configModule: path.resolve(pathAlias.configDir, 'common.config.js'),
};
